package com.snow;

import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.boot.builder.SpringApplicationBuilder;

@EntityScan(basePackages = {"com.snow.sysentity","com.snow.busentity"})
@SpringBootApplication
public class SnowServerApplication {

    public static void main(String[] args) {
        //非web应用运行
        new SpringApplicationBuilder(SnowServerApplication.class).web(WebApplicationType.NONE).run(args);
        System.out.println("===wechat-server===启动成功");
    }


}
